﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WisDom.UnifiedPortal
{
    /// <summary>
    /// Copyright (c) 2013-2017 河南恒茂创远科技股份有限公司
    /// 创建人：郭雪峰
    /// 日 期：2018.2.11
    /// 描 述：数据源类型
    /// </summary>
    public class DataSourceType
    {
        public const int SQLServer = 0;
        public const int WebApi = 1;

        /// <summary>
        /// 获取数据源类型
        /// </summary>
        /// <returns></returns>
        public Dictionary<int, string> GetDataSourceType()
        {
            Dictionary<int, string> dictionary = new Dictionary<int, string>();
            dictionary.Add(SQLServer, "SQLServer");
            dictionary.Add(WebApi, "WebApi");
            return dictionary;
        }
    }
}
